<?php
/*  AjaxWhois Pro 1.0 alpha1 for Joomla 1.5
*   by Uma Sharma bizguruji@softuff.org
*   Powered by Softuff eDevelopment - www.softuff.org
*
* @ Released under GNU/LGPL License : http://www.fsf.org/
**/

// ensure this file is being included by a parent file
if ( ! ( defined( '_VALID_AW' ) || defined( '_JEXEC' ) || defined( '_VALID_MOS' ) ) ) { die( 'Direct Access to this location is not allowed.' ); }

?>
	<div id="AjaxWhois">
      <form id="domainForm" name="domainForm" onsubmit="return submitAW(this);" action="index.php">
      <div class="domainbox" style="width:<?php echo $this->config->domainPartWidth; ?>;">
		<?php if ($this->params->get('titleTag') != "") {
		  echo "<".$this->params->get('titleTag').(($this->config->titleClass != "") ? " class=\"".$AWhois->titleClass."\"" : "").">".$AWhois->titleText."</".$this->params->titleTag.">"; 
        } ?>
  		<div id="domain_search">
    	  <div id="domain_check">
			<input id="DomainSearchBox" name="domainname" type="text" size="30"  value="<?php echo $this->config->domainBoxText; ?>" style="width:<?php echo $this->config->textBoxWidth; ?>;" />
          </div>
        </div>
	  </div>
	  <div class="exts" style="width:<?php echo $this->config->extsWidth; ?>;">
		<?php if ($this->config->extTag != "") {
		  echo "<".$this->config->extTag.(($this->config->extClass != "") ? " class=\"".$this->config->extClass."\"" : "").">".$this->config->extText."</".$this->config->extTag.">"; 
		} ?>
		<?php echo @$exthtml; ?>
	  </div>
      </form>
	  <?php if ($this->config->componentLink == "on") { ?>
	  <div class="morext">
        <a href="<?php echo $AWhois->compLink; ?>"><?php echo $AWhois->moreExtsText; ?></a>
      </div>
	  <div style="clear:both;"></div>
      <?php } else { ?>
	  <div style="clear:both;"></div>
      <?php } ?>
    </div>
